package com.k.rocketmq;

/**
 * 常量
 * <p>
 * 1.设置比 ROCKETMQ_HOME 环境变量
 * <p>
 * 1.修改rocketmq-all-4.9.5-bin-release\bin\runbroker.cmd
 * <p>
 * 2. 启动,会出现两个 dos窗口，不能关闭
 * start mqnamesrv.cmd
 * start mqbroker.cmd -n 127.0.0.1:9876 autoCreateTopicEnable=true
 * start mqbroker.cmd -n localhost:9876 -c ../conf/broker.conf autoCreateTopicEnable=true
 */
public class RocketMqConst {
    public static final String
            PRODUCER_GROUP = "producer_group";

    public static final String
            CONSUMER_GROUP = "consumer_group";

    public static final String
            CONSUMER_GROUP_2 = "consumer_group2";

    // 127.0.0.1:9876
    // 192.168.241.89:9876
    // 192.168.240.77:9876
    // 192.168.240.78:9876
    public static final String
            NAME_SRV_ADDR_89 = "192.168.241.89:9876";//"192.168.240.77:9876";

    public static final String
            COMMAND_TEST_89_TOPIC = "chat";

    public static final String
            COMMAND_TEST_89_TOPIC_TAG = "member";
}
